import { BaseIdInput } from "@/api-services/models/baseModels";
import {
  CodeGenDataFormConfig,
  CodeGenDataFormConfigAddInput,
  CodeGenDataFormConfigUpdateInput
} from "@/api-services/models/codeGen/CodeGenFormConfig";
import { BaseApi } from "@/api-services/apis/baseApi";

/**
 * 认证服务
 */
class CodeGenFormConfigApi extends BaseApi<null, CodeGenDataFormConfigAddInput, CodeGenDataFormConfigUpdateInput> {
  //获取详细配置信息（数据表，表单，流程等）
  getDetailData = async (data: BaseIdInput) => {
    return this.normalGet<CodeGenDataFormConfig>(`/GetDetailData`, data);
  };
}

export default new CodeGenFormConfigApi("/codeGen/formConfig");
